package com.xgy.userauthsystem.exception;

/**
 * 邮箱已存在异常
 * 当用户尝试使用已经被注册的邮箱进行注册时抛出
 */
public class EmailAlreadyExistsException extends RuntimeException {
    
    public EmailAlreadyExistsException(String message) {
        super(message);
    }
    
    public EmailAlreadyExistsException(String message, Throwable cause) {
        super(message, cause);
    }
}